package com.axonactive;

import java.util.List;

import javax.ejb.Stateless;
import javax.inject.Inject;

@Stateless
public class BookService {
	@Inject
	private BookDao bookDao;
	
	public List<Book> getBooks(){
		return bookDao.getBooks();
	}
	
	public void addBook(Book book){
		bookDao.addBook(book);
	}
}
